//时钟的中转
import { Behaviour } from "../engine/Behaviour";
import { getGameObjectById } from "../engine";
import { TextRenderer } from "../engine/TextRenderer";
import { BitmapRenderer } from "../engine/BitmapRenderer";

export class Clock extends Behaviour{

    start:boolean
    dayEnd = false

    onStart(){
        //this.start = false
        this.zhongzhuan()
    }

    zhongzhuan(){
        setTimeout(() => {
            //console.log("中转的start值为：" + this.start)
            this.zhongzhuan()
        }, 2000);
    }
}